bson datetime error resolved