support oldFormatQRCode