Pipelet..emit(): fix clear(), not tested