Minor fix for thumbnails