fix physics class