Fix renderer order
TemplateRenderer cannot handle xhtml