fixes to log files