Fixed function spelling errors