ensured correct version of event_amd