min/max temp mixup correction