refine QRcode