fix to QR test