Fixed some typos in variable names for readability.