polished the dependency management