remove unneeded packages