modify sync
Merge pull request #30 from irvs/issue21

modify sync