fix: handle long pool names (#25712)