Remove unnecessary directory.