Fix bug in fullPipeline