Wrong delete index