refine QRcoder