checkcode update

update for input validator