fix eventtype issue