validate model, error message