Fix the function typo