deleting unneded dependencies