remove debugger reference