fixed minor bug in graph visual