fixed error on using breakpoints