Fix a typo in function name