fixed gallery reload