galleries reloading fix