Solve some index problems