correct pipe splitting