Fix bytestring issue