Fixed closing tag in template