change ret val of validation