fix typo of function name