small bug that was messing up piping