Fix configuration loading.