QR code error when fields not visible