fix ModelService