fixed another unit conversion bug