Fix typos in variable names that broke stuff.