fixing mainplayer in disconnection