fix team selection bug