fixed path to template files