make stndpipe work