Fixed debugger bug