bson date fix