modify ending bg1