bugfix this scope in sync()
bugfix typo ofsset --> offset
Merge pull request #8 from whacked/master

minor bugfixes