rework the mechanism to search in all tags