when values was null, grid was not works