fixed data handling for different types
deleting allocated EventData