Fixed error caused when a new player is logged