Fixed a variable name mixup.