user gallery issue fix