fixed the issue of null appearing in the grid in totals row