remove debugger code in controller