fixed player bug