bug fix in create_event_activity