# default or fallback names a profile that is not Claude Code (/docs/troubleshooting/default-wrong-agent)

What turno doctor means by "<role> = "<name>" is for <label>, but <name> is a <label> profile", and the fix.

This page is for when `turno doctor` reports the finding below: what it means and how to fix it.

## What you see [#what-you-see]

```text
  !  <role> = "<name>" is for <label>, but <name> is a <label> profile
```

It is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.

## Why it happens [#why-it-happens]

The top-level `default` and `fallback` keys are for Claude Code profiles. The profile they name belongs to another agent; its default goes under `[agents.<agent>]`.

## Fix [#fix]

Edit config.toml at the line doctor names (or run turno config edit) and move the key to [agents.&lt;agent&gt;].

Then run `turno doctor` again to see the row turn into `ok`.

The check lives in [`packages/turno/src/core/profiles.ts`](https://github.com/wimo-dev/turno/blob/main/packages/turno/src/core/profiles.ts).