bugfix for model change