Fix can not create log files due to bloody typo :(