add pipe create error and check num