solve the problem of events missing