weather widget: fix bug of displaying temperature