better handling of "bad team token"