fixed wrong edge type reference