Fix has_bin. Fix datatype parse for binary message