Fixed bug occured when player joins