Fixed typo causing stoppedTyping event to fail