player bug fix