Fix event register type name