fix regression introduced by pre-mis-assigned variable