protecting configPath