switching vallidate to catch error
switching vallidate to catch error