attempt gallery first loading fix