basic handling of chain reorg.