add validation for task model
merge