minor changes in validationUtil