adapt to pipeR v0.2