core data synchronization fix