fixed issue with new template files