removing templatedir setting