Fix bug: log path error