 delay = (job) ->
     return if removed this
     # only when tag is ready
-    if @_streamed? #and @closed
+    if @_streamed?
         do job
     else
         @_stream_buffer?= []

        console.warn "attributes of #{el.toString()} don't change anymore"

    tpl.on 'end', ->
        console.log "tpl end"
#         release.call builder
        stream.emit 'end'

# exports


# invoke all delayed stream work
release = () ->
    if @_stream_buffer?
        for job in @_stream_buffer
            do job
