bugfix this scope in sync()
bugfix typo ofsset --> offset