Bug: wait time went wrong in the simulation run