fix thumb saving