fix bug of parse binary string