- cleaning sync-desktop function