fixes dir with SEARCH_TRAVERSE true and version select, fixed #150