fix the typo in function name