fixed next_event ending time