Detect wrong qr code