kill unneeded dependencies