fixed toggling on advanced search