fixed directory search command