Changed an incorrectly referenced variable.