fixed no thumbnail bug