fix team search bug