fixed save image of thumbnails