fix incorrect variable name

regression introduced in c261758e2769cf06d3203ff7ec8ce21310d907b0