fixed build error after simulationMode was removed