update visualizer2: bug fixed.