added a pause to pipeline, and fixed the modify bug