Fix pipe setup