fixed pipeline bug