couple of team management bug fixes