fixed get_events