fix historic sync