fix on del endContainer option