Fixed qrcode generation bug