grid validating