fixed lookup of non-recursive folders