resync with head