fixed bug in team search