physics bug fixes