Fix misspelled variable names