recursive folder walk bug fix