Fix pipe spawning