cleanup template comments