global template dir added