delete needs to ensure there is an id