fixed some bug in create event
Merge pull request #28 from where2night/fixEvent

fixed some bug in create event