fix hex-blob when converting bit type