issue with selecting advanced search. other issues to fix