fix bug of pipeline