removing output image directory