fix a temperature conversion bug under 2.1.0