variant gallery fix