fixing player id bug