update reset method
Merge pull request #123 from xieyu33333/develop

update reset method