sync before reinstall