refine qrcode