default template fixes, fix bug that caused a comment not to be processed when last tag is unsupported