fix bug at game start