make dx index and delete work