correct typo in function name