edit output cost format