bug fix that caused "log file error" message