fixed tsp destructor