add template_error to notifications