fixed bug in new constructor for BaseEvent