refine qr code