Fix binary string type