simScript6 fix