fixed bug with player id