fix some bugs in edit_event_schedule