working on validate in grids