patch for new gallery block