fixed reset bug

fixed reset bug