fixed template.html title bug