repair sync problem