added error messages to validation errors.