fixed a model error