Fix team registration.