fix file log.