checkcode update for validator