fix the tag search