remove template comments