fix breakpoint event error