added null checks for BsGridBaseRenderer