         if shouldReloadCell {
             self.performBatchUpdates({
                 self._reloadBricksWithIdentifiers(identifiers, shouldReloadCell: shouldReloadCell)
-                }, completion: completion)
+            }, completion: completion)
         } else {
             self._reloadBricksWithIdentifiers(identifiers, shouldReloadCell: shouldReloadCell)
             completion?(true)

                self.reloadSections(IndexSet(integersIn: 0..<self.numberOfSections))
            }
            self.collectionViewLayout.invalidateLayout(with: BrickLayoutInvalidationContext(type: .invalidate))
        }, completion: { completed in
            completion?(completed)
        })
    }

    /// Invalidate the visibility

        weak var weakLayout = self.layout
        self.performBatchUpdates({
            weakLayout?.updateHeight(indexPath, newHeight: newHeight)
        }, completion: { completed in
            // we create a strong reference to self here so that self is not accidentally deallocated while an update is in flight
            let _ = self
            completion?(completed)
        })
    }
}

