advance search tab bug fix