fix pipe and or type