Fix simulation creation.