fixes links in gallery section