fixed thumbnail glitch