delete unneeded packages