removing template dir