fix for gallery text