Fix the errors in multiple pipe