fix hang when saving and quitting in some cases
game database support