clean up output for submission. disable deubg mode.