avoid duplicate calls to getConfigs()