[game] fix a few dangling bugs