removing errors from bson