fix for simulations