fix unnecessary error when there is no thumbnail