corrected misspelled variable