fixed iussue of physics simulation halting