fixing initialize bugs, if game is new or page fresh.