for bug #194, add pipe to consumer.