fix create initial event type for classes