try to add qr code support