Dependency order incorrect