make delete work