fix debugger problem