Fixed function typo