team code fixes