visualizer + fixes