Fix problem with pipes.