check for null data on render