fix display thumbnails