fixing the dirEdge funcarg
merge