removes pipes to fix images.