fix typo function name