Fixed issue with the template not being found