fix QR code rendering