pipe fixes error