added missing template variable association