some physics fixes