fix save_qrcode