[misc] Fixed deprecated usage of event data