Fixed simulation.