advanced search fix