Modifications of instruments for temperature compensation