fixed misspelled function name