Corrects a misspelled variable name