fix the log path