temporary gallery fix