fixing simulation
x