disposal before attachment fix, selectAll deferred fix