fixed edges count... again