fix NPE when enter player name  to view profile