fixed no directories found