fixed buoyancy plane when scale is applied
and remove all the pragmas added by ms analyze