Fix getDirs to the correct sub-directory