minor fix to physics class