revise pipeline mode