minor changes to sync