Fix typos in function name