add debug, problem exists at function of break points