fix ObjectIdField bug