deal with deleting binder and document in binder