Fix sync file