Fixed bug in Pipe Connector