Fixed blocking/ non-blocking problem which affected simulation.