adjust index pages