# Presets extend each other in a circle

What "presets extend each other in a circle" means and how to fix it.

```text
error: presets extend each other in a circle: axle.toml → config/a.toml → config/b.toml → config/a.toml
hint: Remove one of these extends so the presets no longer build on each other in a circle.
```

## Why it happens

A preset's `extends` leads, directly or through other presets, back to a file already in the chain, so there is no order to read them in.

## How to fix it

Remove one of the `extends` entries in the chain. If two presets need the same settings, move those into a third preset that both extend.
