Fixed a bug that causes the log view to break