trim outputs for benchmarking