recoverValidationCode

recoverValidationCode function added.