Fix typo in function names