Fixed Sync errors for client.