fixing: when switching to a view with log on, log doesnt turn off, breaking the graph