fix visualizer