small changes for search and filter