fix bug in searching live log files