delete some code about pipe