fixed bug with check on temp range