fix qr code bug