clear ts dir