fix to sync