minor bugfix for displaying temperature