delete from object when dropped