Correction to: Nature Sustainability https://doi.org/10.1038/s41893-020-0590-x, published online 10 August 2020.

In the version of the article initially published, the Supplementary Information did not mention the use of 2,3,3 trimethyl indoline and 2-hydroxy-5-benzaldehyde in the synthesis. An updated version of the Supplementary Information has now been uploaded.