bug fixed: a chrisInputDirectory was missed