fix function name typo