remove unneeded dependencies