fix gallery caching...again