fix macos version

dnc could not access the config file, because the current directory was /