fixed TemplateRouter