remove excess dir