fixed the player object