Fixing some error in the widget log viewer.