fixed advanced search tool