remove debugger function