fix mispelled function name