Fixed config loading.