Team assignment does not work fine