remove debug code from pipeline