bug fix
improve connectplayer