tmpl rendering is done