make the delete work