bug fix: gallery name match