fix dependencies of dependencies