thermal compensation