cleanup the right dir