Remove a reference to pipe_idx