Fix bug in branch's pipe_data