fix comments in templates