reactivated validation code