log file error fixed