debug index deletion