fix syncing