Fixes the event ID parsing