remove the wrong </p> in tmpl file