qr encoding fix