Small fix for the event array