profile: gallery fix