fixed advanced search