Fixed Pipe Bug 2

Fixed weird pipe issues.