create BaseMixin in gallery
test fixes