fix up index pages
I think I fixed some things