save FIRST pipe index, print prettier