code fix

validate check class