fixed an unclosed div in template.html