fix markdown error with templateName