fix Pipe.cpp