fixes to the log viewer