resync and error