fix pipeline bug