Correction to: Nature Published online 22 December 2021

In the version of this article initially published, there was an error in column B, row 1 in Supplementary Table 1, where the unit incorrectly appeared as IC50 (μM) instead of IC50 (nM). In addition, we noticed that there was an image duplication of Extended Data Fig. 10h, where the image of SMARCA4/BRG1 IHC staining of kidney tissue from the enzalutamide group was inadvertently duplicated from the vehicle group. The conclusions of the paper remain unaffected. Supplementary Table 1 and Extended Data Fig. 10h have been updated to reflect these revisions.