Correction to: Nature https://doi.org/10.1038/s41586-023-06348-2 Published online 26 July 2023

In the version of the article originally published, the structures in Fig. 1c, Fig. 2e and Fig. 5j were missing labels for chlorine (three, one and one instances, respectively), which are now amended in the HTML and PDF versions of the article.