Correct misnamed variables