remove uneeded dependencies.