make suer enough long qrcode can be encode