fixed physics bug