WL-2370 fix badly named variable