fixed template closing tag error