fix setupConfigDirPath