fix misspelled function call