clear up and add qrcode fun