Fixed an incorrectly named variable