Correct function typo