fix event class base class