Fix path to the template file