get rid of unneeded packages