fixed misspelled variable name