remove useless packages.