qrcode window does not show the correct qrcode