fix breakpoint save func