pipe: fixes