fixed thumbnail bug