fix typo in function name