Fixed bug fix with thumbnails