fixed RunToVisualize