fixed setting of input directory for PIPELINE