remove comment part in template