fixed player.ts