fixed newgame popup and register bug