gallery fix

gallery fix