Fixed spelling error in word function.