Debugged further

Assign teams does not work.