Fix player num can greater than maxplayer