Fix VG Pipe thanks to @billchen1977