[feature] fix some ubuf_xx API