template dir tweak for server