Fixed a bug in EventController create.