remove unused dependencies in manifests.