removes debugger and unnecessary action overrides