altgallery fix