fixed exeption during add/remove breakpoint