adapt spec to model change