# Troubleshooting "Unknown macro" error

When the addon was created, the macro names contained space characters. With recent versions of Confluence Server and Confluence Data Center, the macro editor will be displayed with the "Unknown macro" message.

<figure><img src="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2FoS6NI2KvgYAH4J6ZeCNq%2Fimage.png?alt=media&#x26;token=f5afb2d5-094f-4117-b8fd-a17cbfa85d97" alt=""><figcaption></figcaption></figure>

The macros still correctly render the LaTeX content, for example: <img src="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2Fb176ETsmBHj2GZeRKLnF%2Fimage.png?alt=media&#x26;token=68803dd3-f8b3-4dd8-b65c-359f4d9708d2" alt="" data-size="line">.

To resolve the issues, from version 4.0.0, a new set of macro names are used.

<figure><img src="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2FSArDzWpe2lGz8DLam7DF%2Fimage.png?alt=media&#x26;token=efde4578-063b-452d-93a8-3e0ffc6d8d81" alt=""><figcaption></figcaption></figure>

The existing macros still work and you can edit the LaTeX content of the old macros. You only need to replace the old macros with the new ones when you want to use new functions such as adding reference numbers to the LaTeX content.

If you want to migrate all old macros to the new ones, please follow the same instructions at [migrate-to-confluence-cloud](migrate-to-confluence-cloud "mention").
