Fixed additional outer template directory setting.