bug in EdgeSet cmp function object fixed