Remove unnecessary directory removal