fix small bug gremlin, update createEdge func