fixed game_instance bugs