fix rpipe