fixed LogViewer issue