Fixing issue with rendering  a QR code