check for null in RST visualizer