Fix bug in pipeline output.
Fix bug in pipeline output.

Sayeedsalam/spec-petrarch2,cnnorris/petrarch,JingL1014/petrarch2,openeventdata/petrarch,opcoder/zh_ptr,pjdufour/petrarch,johnb30/petrarch,johnb30/petrarch2,openeventdata/petrarch2