fix DepGraph