Correction for thumbnails