better format validation error