Fix simulation reloading