remove unwanted gems