fix log files