another gallery fix