anchor.diff:        });
         Future.wait(postRemoveList).then((_) {
           if (fileSyncImmediately) {
  -          PinUtility.writeJsonFile(CartConst.DB_CATEGORIES_PATH, tags)
  -          .then((_) => PinUtility.writeJsonFile(CartConst.DB_POSTS_PATH, posts))
  -          .then((_) => completer.complete(null));
  +          Future.wait([
  +              PinUtility.writeJsonFile(CartConst.DB_TAGS_PATH, tags),
  +              PinUtility.writeJsonFile(CartConst.DB_POSTS_PATH, posts)
  +          ]).then((_) => completer.complete(null));
           } else {
             completer.complete(null);
           }
  
positive.code:     tagPosts[uuid].add(postUuid);
    }
  
  }
negative.code:         }
        });
        if (fileSyncImmediately) {
          Future.wait([
              PinUtility.writeJsonFile(CartConst.DB_TAGS_PATH, tags),
              PinUtility.writeJsonFile(CartConst.DB_POSTS_PATH, posts)
          ]).then((_) => completer.complete(null));
        }
      } else {
        completer.complete(null);
  