can't reproduct the qrcode crash bug, bug refine code