protect against possible crash here if _modelItems is not set.