currupted index correction