update trace output
remove redundent lines
Merge pull request #1314 from ruil2/add_trace

update trace output