clean image directory