profile gallery fix