fixing select player bug