how to create an output without getting a pipeadvertisement