add model validation, process some exception