qrcode code is forced to be a unique key