fixes merge_events