fix buf of readHexString