fix the model