modify trace output