Fix bug when create an event
Merge pull request #6 from staunchRobots/bugfix

Fix bug when create an event