advanced search fix 2