Corrected variable name misspelling.