Adding bugfix to thumbnails.go