Correction to: Nature Chemistry https://doi.org/10.1038/s41557-022-01027-7, published online 26 September 2022.

In the version of this article initially published, there was an error Figure 2c. The structure of compound 19 was incorrectly depicted. In compound 19, the carbon labelled 14 is part of a nitrile group, rather than an aldehyde. This structure has been corrected in the HTML and PDF versions of the article.