Fix issue with config loading.