fix #38591

I hope this gives enough context. If not, please let me know what would be best.