minor changes for sync