get deleted data depends on sync mode