Fix error with config loading.