fix somebugs,most bugs is register set value error