- fixed thumbnail generation