stop simulation bug fix