adding validation messages should only happen if there is a validation error