corrected validations