pages index fix