fixes for gallery_4 theme and its widgets
fixes for gallery_4 theme and its widgets