fix configuration retrieval