qr-code bug fixing