Fix for Invalid QR Codes