fixed wrong type for edges