updata and fixed bug

updata and fixed bug