fixed player_count bug