log file fix