What you see are section names for "Alternate Layouts" page ranges.
Open your Pages Panel. You should see the small black triangle on top of some pages indicating the section start of "custom V2", "custom V3" etc.
Double click the small triangle and the "Numbering & Sections Options…" should pop up.
Untick "Start Section".
Do that for every section you do not like to see.