ensure that the player is set when checking id