fix a bug in qrencode