cleaning up image directory