directory search improvements