fix historic sync
Merge pull request #331 from maraoz/bug/fix-historic-sync

fix historic sync