fix reference to pipe