fix bson serialization id