fixing simulations