fix pipe multiplex