Fixed bug for joining players.