fix for dependency graph initialization bug