changed stuff that has to do with advanced search