fix data and history temperature