fix log path bug