Fixing qr code rendering