fixing null error on the grid when loading.