Fixed unit conversion bug.