simulate_experiment bugfix