installDependency cleaned up