removing unneeded dependencies.