Fixed bug dumping TP data