bugfix2 on debugger decorator