fix rigidbody error