clean ts.txt