add model validate
modify model validate bug