fix wrong pipe