throw TemplateException in Page Helper