delete is not reseting the ID