Fixed typos
Minor variable name edits