cleanup.
better formatting of validation errors.