improve deferred insertion