fix walk dir for the new multiprocessing combination of word