Correction to: Nature Materials https://doi.org/10.1038/s41563-019-0536-8, published online 2 December 2019.

In the version of this Article originally published, Rhodri Williams was missing from the author list; he should have been listed after Richard Malpass-Evans with the affiliation EaStChem School of Chemistry, University of Edinburgh, Edinburgh, UK. The text ‘R.W. devised and synthesized PIM-BzMA-TB.’ has also been added to the author contributions section after ‘R.M. synthesized TB-PIMs and carried out characterizations.’