Fixes the header of getConfigPath and getSearchConfig