fixes gallery.html