refine Pipe header