correct template files