correct template dir