Fix for thermcouple support