deps and better handling of user validation errors