minor correction to printing out temp