fixed input directory propagation error