update directory strip
fix directory strip