Fix bug in pipeline output.