Bug fix in retrieve_conf