added missing var for template