fixed bson duplicate library