Corrected undefined object on line 120, misspelling