fix for gallery row