fixed a function name typo