really fix the template dir