fix bugs on start game