Union fix for event struct