fixed typo in event dispatcher trait