delete the object in the background