adjusts dependencies.