Hotfix team api

Ok, this one is the right one, tried and tested.