fix search-cmd