fix tag search issue