remove unused dependencies.