remove comment from generator