fix double pipes