Fix simulator.