Remove segment dir