Corrected some typos

Corrected some typos in variable names