fixing a model