Fixing player bug