switched back to template dir