fix bug to remove breakpoint in debugging