add directory cleaning