cleanup unneeded dependencies