fix out_events