fix log view.