more improve trace output