Fix issues with temperature scale