added missing template var