delete the unused dependencies.