some bugfixes in syncer