error correction in SimulationPanel