Fixed bug for player name change on socket event