fixing, it was making self edges