Edit index for link fixing