fixing thumbnails