fix path to template