Fixed the function spell mistake