Fix bug with QR code breakpoint