fixing path to template