Fix some error on GetPipe.