fixed condition
added read-qrcode