remove gems that are not needed anymore