Fix the index.