fix trace.txt display error