Gallery content fix