prevent crash if topic graph is clicked while not loaded