fix misspelled function.