Fixed typo in event creation