Fixed ErnieSimulation