add fix for thumbnails