fixed minor bug in walkDirectory