Fixed scan qrcode issue