modified some model files