Correct a function name typo