delete return index