fix breakpoint resume issue