Fixed issue with template.