add types to validation errors
working