fix bug of no trace file