Fix model family runtime error.