fixed some bugs with temperature intervals
fixed some bugs with temperature intervals