document and fix hanging delete