bugfix for the duplicate last team bug, php array pointer corruption <3