fixing the pipeline plot