fix a bug in adding new nodes in dfgGraph