Fixed getevents