correct the device temp and device diff value