fixed int/float warning on thermal config